package com.training.pojo.chengshu;

import java.util.HashSet;
import java.util.Set;

/**
 * URole entity. @author MyEclipse Persistence Tools
 */

public class URole implements java.io.Serializable {

	// Fields

	private Integer roleid;
	private String rolename;
	private String content;
	private Set userRoles = new HashSet(0);
	private Set funUsers = new HashSet(0);

	// Constructors

	/** default constructor */
	public URole() {
	}

	/** full constructor */
	public URole(String rolename, Set userRoles, Set funUsers) {
		this.rolename = rolename;
		this.userRoles = userRoles;
		this.funUsers = funUsers;
	}

	// Property accessors

	public Integer getRoleid() {
		return this.roleid;
	}

	public void setRoleid(Integer roleid) {
		this.roleid = roleid;
	}

	public String getRolename() {
		return this.rolename;
	}

	public void setRolename(String rolename) {
		this.rolename = rolename;
	}

	public Set getUserRoles() {
		return this.userRoles;
	}

	public void setUserRoles(Set userRoles) {
		this.userRoles = userRoles;
	}

	public Set getFunUsers() {
		return this.funUsers;
	}

	public void setFunUsers(Set funUsers) {
		this.funUsers = funUsers;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
}